package com.cyw.springboot_mongo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @ClassName
 * @Author: chenyw
 * @Date: 2022/01/25/14:44
 * @Version:
 */
@Document(collection = "textCollection")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long id;
    private String password;
    private String username;
}
